using UnityEngine;
using System.Collections;

public class ToggleGui {
	
	public bool IsOn { set; get; }
	
	public ToggleGui(bool is_on) {
		this.IsOn = is_on;
	}
	
	public bool Toggle() {
		this.IsOn = !this.IsOn;
		
		return this.IsOn;
	}
}

interface IToggleGui  {
	ToggleGui toggle { set; get; }
}